﻿<UserControl x:Class="PRScreenWithKinect.UI.Menu"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" Width="540" Height="400" VerticalAlignment="Top">
	<UserControl.Resources>
		<Storyboard x:Key="slideDownFX">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetName=""
                                       Storyboard.TargetProperty="Height">
                <EasingDoubleKeyFrame KeyTime="0:0:0"
                                  Value="-100" />
                <EasingDoubleKeyFrame KeyTime="0:0:1"
                                  Value="0">
                    <EasingDoubleKeyFrame.EasingFunction>
                        <ElasticEase EasingMode="EaseOut"
                               
                                     Oscillations="1"
                                  />
                    </EasingDoubleKeyFrame.EasingFunction>
                </EasingDoubleKeyFrame>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
		<Storyboard x:Key="slideUpFX">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetName=""
                                       Storyboard.TargetProperty="Height">
                <EasingDoubleKeyFrame KeyTime="0:0:0"
                                  Value="0" />
                <EasingDoubleKeyFrame KeyTime="0:0:0.2"
                                  Value="-600">
                   
                </EasingDoubleKeyFrame>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
	</UserControl.Resources>
    <Grid>
		<Rectangle Fill="#FFF4F4F5" Margin="0,-11,0,0" RadiusX="10" RadiusY="10" Opacity="0.19">
			<Rectangle.Effect>
				<BlurEffect Radius="31"/>
			</Rectangle.Effect>
		</Rectangle>
		<Grid x:Name="Content" Height="400" VerticalAlignment="Top" Width="540" >
			<Grid.RowDefinitions>
				<RowDefinition Height="200" />
				<RowDefinition Height="2000" />
		   
			</Grid.RowDefinitions>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="180" />
				<ColumnDefinition Width="180" />
				<ColumnDefinition Width="180" />
			</Grid.ColumnDefinitions>
			<StackPanel x:Name="_PR_CE" HorizontalAlignment="Center" Margin="0,5,0,0" Width="150" VerticalAlignment="Top" Height="190">
				<Border BorderThickness="1.5" CornerRadius="30" Width="150" Height="150">
					<Border.Background>
						<ImageBrush ImageSource="/PRScreenWithKinect;component/Images/menu_icons/News.png"/>
					</Border.Background>
				</Border>
				<Image Height="31" Source="/PRScreenWithKinect;component/Images/menu_icons/text/news_text.png"/>
			</StackPanel>
			<StackPanel x:Name="_Gallery_CE" Margin="0,6,0,0" VerticalAlignment="Top" Height="190" Grid.Column="1" HorizontalAlignment="Center">
			
				<Border BorderThickness="1.5" CornerRadius="12" Width="150" Height="150">
					<Border.Background>
						<ImageBrush ImageSource="/PRScreenWithKinect;component/Images/menu_icons/Gallery.png"/>
					</Border.Background>
				</Border>
				<Image Height="31" Width="150" Source="/PRScreenWithKinect;component/Images/menu_icons/text/gallary_text.png"/>
			</StackPanel>
			<StackPanel x:Name="_Location_CE" Margin="0,5,0,0" VerticalAlignment="Top" Height="190" Grid.Column="2" HorizontalAlignment="Center">
			
				<Border BorderThickness="1.5" CornerRadius="12" Width="150" Height="150">
					<Border.Background>
						<ImageBrush ImageSource="/PRScreenWithKinect;component/Images/menu_icons/Location.png"/>
					</Border.Background>
				</Border>
				<Image Height="31" Width="150" Source="/PRScreenWithKinect;component/Images/menu_icons/text/location_text.png"/>
			</StackPanel>
			<StackPanel x:Name="_AboutFac_CE" HorizontalAlignment="Center" Margin="0,5,0,0" Width="150" VerticalAlignment="Top" Height="190" Grid.Row="1">
			
				<Border BorderThickness="1.5" CornerRadius="12" Width="150" Height="150">
					<Border.Background>
						<ImageBrush ImageSource="/PRScreenWithKinect;component/Images/menu_icons/AboutFac.png"/>
					</Border.Background>
				</Border>
				<Image Height="31" Source="/PRScreenWithKinect;component/Images/menu_icons/text/aboutfac_text.png"/>
			</StackPanel>
			<StackPanel x:Name="_GuestBook_CE" Margin="0,5,0,0" VerticalAlignment="Top" Height="190" Grid.Column="1" Grid.Row="1" d:LayoutOverrides="VerticalAlignment">
		
				<Border BorderThickness="0,0,0,1.5" CornerRadius="12" Width="150" Height="150">
					<Border.Background>
						<ImageBrush ImageSource="/PRScreenWithKinect;component/Images/menu_icons/GuestBook.png"/>
					</Border.Background>
				</Border>
				<Image Height="31" Source="/PRScreenWithKinect;component/Images/menu_icons/text/guestbook_text.png" Margin="0"/>
			</StackPanel>
			<StackPanel x:Name="_Help_CE" Margin="0,5,0,0" VerticalAlignment="Top" Height="187" Grid.Column="2" Grid.Row="1" d:LayoutOverrides="VerticalAlignment">
				<Border BorderThickness="0,0,0,1.5" CornerRadius="12" Width="150" Height="150">
					<Border.Background>
						<ImageBrush ImageSource="/PRScreenWithKinect;component/Images/menu_icons/Help.png"/>
					</Border.Background>
				</Border>
				<Image Height="31" Source="/PRScreenWithKinect;component/Images/menu_icons/text/help.png" Margin="0"/>
			</StackPanel>
		</Grid>
	</Grid>
	 <UserControl.RenderTransform>
        <TransformGroup>
            <TranslateTransform />
        </TransformGroup>
    </UserControl.RenderTransform>
</UserControl>
